package com.cosina.game.tank.map;

import android.graphics.Bitmap;
import android.graphics.Rect;

import com.cosina.game.tank.ImageManager;

public class SimpleMap {
	static int ID_NULL = 0;
	static int ID_BRICKWALL = 1;
	
	public static Bitmap getBitmap(int id){
		if(id == ID_BRICKWALL)
			return ImageManager.brickWall;
		return null;
	}
	
	private static int[][] data = new int[][]{
		{0,0,0,0,0,0,0,0,0,0,0,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,1,1,0,1,1,1,1,0,1,1,0},
		{0,0,0,0,0,0,0,0,0,0,0,0},
		{0,0,0,0,0,0,0,0,0,0,0,0},
	};
	
	public boolean isInterctWithWALL(Rect rect){
	return false;
	}
	
	public int[][] getMapData(){
		return data;
	}
}
